home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / os2 / bgfax160.zip / BINKLEY.TXT < prev    next >
Text File  |  1996-04-18  |  5KB  |  128 lines

  1. --------------------------------------------------------------------------
  2. Setup hints: BGFAX, Class 2 fax modems, Binkley 2.60 (DOS & OS/2) 04-18-96
  3. B.J. Guillot                                 http://www.blkbox.com/~bgfax/
  4. FidoNet 1:106/400                         InterNet: bjg90783@jetson.uh.edu
  5. --------------------------------------------------------------------------
  6.  
  7. YOU MUST BE USING BINKLEY 2.60...  DO NOT USE THE 2.59 BETAS OR EARLIER.
  8.  
  9. Here is a clip from the BINKLEY.CFG file...
  10.  
  11. ;***************************************************************
  12. ;*  Fax Related Section of Binkley.CFG for a Class 2 faxmodem  *
  13. ;*  Class 2 such as Supra, Zoom, PPI, etc. NOT FOR US ROBOTICS *
  14. ;***************************************************************
  15. PreInit    |v``^``ATHZ|~~
  16. Init       AT+FAA=1;+FCR=1;+FLID="713\ 555\ 1212";+FDCC=1,3,0,2,0,0,0,0|
  17. PreDial    `
  18. Prefix     ATDT
  19. Answer     ATA|
  20. DtrHigh
  21. ;MailNote                      ; must be COMMENTED OUT for BGFAX to work!!!
  22. ;FaxInDir   NOT_USED           ; must be COMMENTED OUT for BGFAX to work!!!
  23. ;FaxBaud    NOT_USED           ; useless when used with BGFAX
  24. ExtrnMail     123 FAX
  25. Extern        spawn            ; this causes Bink to spawn EXTMAIL.BAT|CMD
  26. ModemFax      FAX
  27. ModemIgnore   RINGING
  28. ModemIgnore   RING RESPONSE
  29. ModemRinging  RING
  30. ModemConnect  CONNECT
  31. ModemIgnore   RRING
  32. ModemRetry    BUSY
  33. ModemFailure  VOICE
  34. ModemFailure  ERROR
  35. ModemFailure  OK
  36. ModemFailure  NO CARRIER
  37. ModemIncoming NO DIAL
  38. ModemIgnore   DIALING
  39. ModemFailure  NO ANSWER
  40. ModemIgnore   DIAL TONE
  41.  
  42.  
  43. Miscellaneous notes about BINKLEY.CFG...
  44.  
  45.   1. The "123" number I choose in the "ExtrnMail" verb above is just a
  46.      dummy number.  Since we are spawning to EXTMAIL.BAT|CMD, the number
  47.      itself does not make any difference
  48.   2. The "\" character used in the PreInit and Init strings allow
  49.      Binkley to "escape" the following character, e.g., \. sends a
  50.      period.  If we did not put a "\.", Binkley would convert the
  51.      period to a comma, and we do not want that.
  52.   3. Binkley will NOT report modem initialization errors and this makes
  53.      finding errors almost impossible.
  54.  
  55. The other important file we must create is EXTMAIL.BAT|CMD, which will
  56. reside in the Binkley directory...
  57.  
  58. =======================================================================
  59.  
  60. IF YOU ARE USING A MODEM THAT REPORTS A "FAX" RESPONSE, SUCH AS A SUPRA
  61. OR ZOOM, ...........  (METHOD #1)
  62.  
  63. EXTMAIL.CMD  (If you are using Binkley and BGFAX for OS/2)
  64. ~~~~~~~~~~~
  65. @d:\util\sio\su 1 lock 0
  66. @c:\bgfax\bgfax2 /fax c:\bgfax h%3 z
  67.  
  68. The "SU" command in the first line will tell the SIO.SYS drivers to unlock
  69. the communications port so that BGFAX is able to adjust the DTE speed to
  70. whatever value your modem needs to be set to for fax receive mode.  The "1"
  71. stands for "COM1".  The "H%3" is a communications handle which is auto-
  72. matically passed by Binkley so you do not need to tell BGFAX/2 which com
  73. port you are using.
  74.  
  75.  
  76. EXTMAIL.BAT  (If you are using Binkley and BGFAX for DOS)
  77. ~~~~~~~~~~~
  78. @c:\bgfax\bgfax /fax c:\bgfax 1 z
  79.  
  80. The "1" above tells BGFAX to receive using COM1.
  81.  
  82. If Binkley/2 is working correctly, your BINKLEY.LOG will show an entry
  83. like this...
  84.  
  85. + 18 Apr 16:36:39 BINK begin, BinkleyTerm-OS/2 Ver. 2.60 -IBMC/2
  86. # 18 Apr 16:38:54 BINK Ring
  87. # 18 Apr 16:38:55 BINK Fax
  88. : 18 Apr 16:38:56 BINK Spawning external mailer
  89. : 18 Apr 16:39:31 BINK Returned from external mailer
  90. * 18 Apr 16:39:35 BINK Seconds: 45  Tariff: 0  Fee: 0  System: FAX
  91. : 18 Apr 16:39:35 BINK Exit after receiving mail with errorlevel 20
  92. + 18 Apr 16:39:35 BINK end, BinkleyTerm-OS/2 Ver. 2.60 -IBMC/2
  93.  
  94. Notice that after the fax is received, Binkley will go ahead and exit
  95. with the errorlevel defined by E2= in the BINKLEY.EVT file after BGFAX
  96. releases control back to Bink.  Again, this happens AFTER the BGFAX
  97. transfer has already happened.
  98.  
  99. ====================================================================
  100.  
  101. IF YOU ARE USING A MODEM THAT REPORTS A "+FCON" RESPONSE, SUCH AS A
  102. PRACTICAL PERIPHERALS PPI, ............ (METHOD #2)
  103.  
  104. First, we need to go back to BINKLEY.CFG we just modified a few minutes
  105. ago and make two quick changes...
  106.  
  107.         ExtrnMail     123 +FCON
  108.         ModemFax      +FCON
  109.  
  110. EXTMAIL.CMD  (If you are using Binkley and BGFAX for OS/2)
  111. ~~~~~~~~~~~
  112. @d:\util\sio\su 1 lock 0
  113. @c:\bgfax\bgfax2 /fast:4 c:\bgfax h%3 z
  114.  
  115. EXTMAIL.BAT  (If you are using Binkley and BGFAX for DOS)
  116. ~~~~~~~~~~~
  117. @c:\bgfax\bgfax /fast:4 c:\bgfax 1 z
  118.  
  119. The "1" mentioned on the SU and BGFAX lines are for COM1.
  120.  
  121. The /FAST:4 parameter tells BGFAX to wait for an "OK" message for
  122. up to 4 seconds before assuming it was missed during the transition
  123. from Binkley to BGFAX.  Depending upon the speed of your computer and
  124. several other factors, the 4 timing parameter may need to be adjusted.
  125. Try /FAST:2, or /FAST:0, or perhaps even /FAST:6 if BGFAX does not
  126. appear to be working correctly.
  127.  
  128.